import type { RouteRecordRaw } from 'vue-router'

const fileRoutes: RouteRecordRaw[] = [
  {
    path: '/file-manager',
    name: 'FileManager',
    component: () => import('./views/index.vue'),
    meta: {
      title: '文件管理',
      requiresAuth: true
    }
  },
  {
    path: '/video-player/:id',
    name: 'VideoPlayer',
    props: true,
    component: () => import('./views/video-player.vue'),
    meta: {
      title: '视频播放',
      requiresAuth: true
    }
  }
]

export default fileRoutes